package com.itqf.service;

import com.itqf.bean.DtsStorage;
import com.itqf.dto.CommonsDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * projectName: gp_manage
 *
 * @author: 赵伟风
 * time: 2021/8/23 14:34
 * description: 存储对象业务接口
 */
public interface DtsStorageService {

    /**
     * 存储数据列表+模糊查询
     * @param commonsDto
     * @return
     */
    Object findStorageByPage(CommonsDto commonsDto);

    /**
     * 文件存储
     * @param file
     * @return
     */
    DtsStorage insertStorage(MultipartFile file) throws Exception;
}
